package com.baizhi.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("sp-zz")//对应的是Spring-application.name的值
public interface FeignProductService {
    @GetMapping("sp/sps/{id}")
    public String select(@PathVariable("id") Integer id);
}
